package com.leo.erp.dto;

import java.util.List;
import java.util.Map;

import com.leo.erp.entity.DepotHead;
import com.leo.erp.entity.DepotHeadVo4List;
import com.leo.erp.enums.DepotHeadStateEnum;

public class DepotHeadExecution {
	//结果状态
	private int state;
	//状态标识
	private String stateInfo;
	//日志数量
	private int count;
	//总页数
	private long pages;
	//总记录数
	private long total;
	//操作(增删改的时候使用)
	private DepotHead depotHead;
	//列表(查询列表的时候使用)
	private List<DepotHead> depotHeadList;
	
	//累计应付
	private Double totalPay;
	
	private List<DepotHeadVo4List> depotHeadVo4List;
	
	//分页列表
	private List<Map<String, Object>> depotHeadPageList;
				
	//构造函数
	public DepotHeadExecution() {
					
	}
				
	//操作失败的时候使用的构造器
	public DepotHeadExecution(DepotHeadStateEnum stateEnum) {
		this.state = stateEnum.getState();
		this.stateInfo = stateEnum.getStateInfo();
	}
				
	//操作成功的时候使用的构造器
	public DepotHeadExecution(DepotHeadStateEnum stateEnum, DepotHead depotHead) {
		this.state = stateEnum.getState();
		this.stateInfo = stateEnum.getStateInfo();
		this.depotHead = depotHead;
	}
				
	//操作成功的时候使用的构造器
	public DepotHeadExecution(DepotHeadStateEnum stateEnum, List<DepotHead> depotHeadList) {
		this.state = stateEnum.getState();
		this.stateInfo = stateEnum.getStateInfo();
		this.depotHeadList = depotHeadList;
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}

	public String getStateInfo() {
		return stateInfo;
	}

	public void setStateInfo(String stateInfo) {
		this.stateInfo = stateInfo;
	}

	public int getCount() {
		return count;
	}

	public void setCount(int count) {
		this.count = count;
	}

	public long getPages() {
		return pages;
	}

	public void setPages(long pages) {
		this.pages = pages;
	}

	public long getTotal() {
		return total;
	}

	public void setTotal(long total) {
		this.total = total;
	}

	public DepotHead getDepotHead() {
		return depotHead;
	}

	public void setDepotHead(DepotHead depotHead) {
		this.depotHead = depotHead;
	}

	public List<DepotHead> getDepotHeadList() {
		return depotHeadList;
	}

	public void setDepotHeadList(List<DepotHead> depotHeadList) {
		this.depotHeadList = depotHeadList;
	}

	public List<DepotHeadVo4List> getDepotHeadVo4List() {
		return depotHeadVo4List;
	}

	public void setDepotHeadVo4List(List<DepotHeadVo4List> depotHeadVo4List) {
		this.depotHeadVo4List = depotHeadVo4List;
	}

	public List<Map<String, Object>> getDepotHeadPageList() {
		return depotHeadPageList;
	}

	public void setDepotHeadPageList(List<Map<String, Object>> depotHeadPageList) {
		this.depotHeadPageList = depotHeadPageList;
	}

	public Double getTotalPay() {
		return totalPay;
	}

	public void setTotalPay(Double totalPay) {
		this.totalPay = totalPay;
	}
	
	
}
